package ucas.pin.web.domain;


import java.util.ArrayList;
import java.util.Collection;

import com.fasterxml.jackson.annotation.JsonIdentityInfo;
import com.fasterxml.jackson.annotation.ObjectIdGenerators;
import org.neo4j.ogm.annotation.EndNode;
import org.neo4j.ogm.annotation.GraphId;
import org.neo4j.ogm.annotation.RelationshipEntity;
import org.neo4j.ogm.annotation.StartNode;

/**
 * @author pin
 */
@JsonIdentityInfo(generator=ObjectIdGenerators.PropertyGenerator.class, property="id")
@RelationshipEntity(type = "Treat")
public class Treat extends Relation{

//	@GraphId
//	private Long id;

	
	//private String describe;

//	@StartNode
//	private Disease disease;
//
//	@EndNode
//	private Prescription prescription;

	public Treat() {
	}

	public Treat(Prescription prescription, Disease disease) {
		this.setStart_Entity(prescription);
		this.setEnd_Entity(disease);
	}

	

}
